import { Navigate } from 'react-router-dom'

import Login from "../pages/login";
import Layout from "../componets/layout";
import Home from "../pages/home";
import History from "../pages/exam_history";
import Select from "../pages/exam_select";
import Person from '../pages/person'
export default [
  { path: "/", element: <Navigate to='/home' /> },
  { path: "/login", element: <Login /> },
  {
    element: <Layout />, children: [
      { path: "/person", element: <Person /> },
      { path: "/home", element: <Home /> },
      { path: "/exam_select", element: <Select /> },
      { path: "/exam_history", element: <History /> }]
  },
];
